package com.liuyang.demo.number;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class BigDecimalDemo {
    public static void main(String[] args) {
        BigDecimal b1 = new BigDecimal(1L*100);
        BigDecimal b2 = new BigDecimal(3L);
        System.out.println(b1.divide(b2,2, RoundingMode.HALF_UP));
    }
}
